package com.matthewmadson.util.io;

public class Input
{
	public static void main(String[] args)
	{
		/**
		 * Program input can come from a number of different sources, This class aims to unify these sources
		 * Possible sources:
		 * 
		 * - Command line (program) arguments either by flag or unadorned
		 * - Interactive Command line input
		 * - GUI based form input
		 * - External file
		 * - Package internal file (resource)
		 * - Internet resources
		 */

		Input.getString(InputSource.COMMAND_LINE, "cmdln flag");
		Input.getString(InputSource.SYSTEM_IN, "prompt string or menu");
		Input.getString(InputSource.GUI, "GUI OBJ reference", "field");
		Input.getString(InputSource.EXTERNAL, "external file location");
		Input.getString(InputSource.INTERNAL, "internal package name", "internal file name");
		Input.getString(InputSource.WEB, "url");
		Input.getStrings();
		Input.getInputStream();
		Input.getProperties();
		Input.getInt();
		Input.getInts();
		Input.getLong();
		Input.getLongs();
		Input.getFloat();
		Input.getFloats();
		Input.getDouble();
		Input.getDoubles();
		Input.getBoolean();
		Input.getBooleans();
		...
}
